FolderItem.CreateResourceFork Function

Macintosh only. Creates a new ResourceFork.

Syntax

result = FolderItem.CreateResourceFork( FileType )

Parameters

FileType

String

Return Value

Result

ResourceFork

Notes

If file exists, then existing resource fork is emptied, otherwise new file is created with FileType passed. FileType is the name of a file type that was created via the FileType class or in the IDE using the File Types Sets Editor.